<table class="custom-table" cellpadding="0" cellspacing="0">
	<thead>
		<tr>
			<th class="th05">序号</th>
			<th class="th04">分类名称</th>
			<th class="th03">商品名称</th>
			<th class="th02">材源代码</th>
			<th class="th05">材料名称</th>
			<th class="th01">操 作</th>
		</tr>
	</thead>
	<tbody>
	<?php foreach ($this->paginator as $v) : ?>
		<tr>
			<td><?php echo $this->escapeHtml($v->material_id);?></td>
			<td><?php echo $this->escapeHtml($v->material_category_name);?></td>
			<td><?php echo $this->escapeHtml($v->product_name);?></td>
			<td><?php echo $this->escapeHtml($v->material_code);?></td>
			<td><?php echo $this->escapeHtml($v->material_name);?></td>
			<td>
				<a href="/crm/material/edit?material_id=<?php echo $this->escapeHtml($v->material_id);?>">修改</a>/
				<a href="/crm/material/details?material_id=<?php echo $this->escapeHtml($v->material_id);?>">详情</a>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>
<?php
echo $this->paginationControl($this->paginator, 'sliding', 'partial/ajax-paginator.phtml', array(
    'route' => $this->url('crm/order', array(
        'action' => 'ajax-order-list-table'
    )),
    'params_string' => ''
)
     );
 ?>